package com.eaoa.uc.busroute.form;

import com.eaoa.base.EABaseForm;
import com.eaoa.vo.bus.BusRoute;
import com.stony.core.util.CoreUtils;

public class BusRouteForm extends EABaseForm{

	// primary key
	private java.lang.String routeno;

	// fields
	private java.lang.String routename;
	private java.lang.String remark;
	
	public void setVO(BusRoute vo){
		this.setRouteno(CoreUtils.formatString(vo.getRouteno()));
		this.setRoutename(vo.getRoutename());
		this.setRemark(vo.getRemark());
	}
	
	public BusRoute getVO(){
		BusRoute po = new BusRoute();
		po.setRouteno(CoreUtils.parseLong(this.getRouteno()));
		po.setRoutename(this.getRoutename());
		po.setRemark(this.getRemark());
		return po;
	}

	public java.lang.String getRouteno() {
		return routeno;
	}

	public void setRouteno(java.lang.String routeno) {
		this.routeno = routeno;
	}

	public java.lang.String getRoutename() {
		return routename;
	}

	public void setRoutename(java.lang.String routename) {
		this.routename = routename;
	}

	public java.lang.String getRemark() {
		return remark;
	}

	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}
	
	
	
}
